//
//  ZixunDetailViewController.m
//  jdd
//
//  Created by admin on 14-7-24.
//
//

#import "ZixunDetailViewController.h"
#import "JddGlobalParameter.h"

@interface ZixunDetailViewController ()

@end

@implementation ZixunDetailViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor yellowColor];
    
    JddNoticeDetailOperation *operation = [[JddNoticeDetailOperation alloc] init];
    operation.delegate = self;
    operation.noticeId = self.noticeId;
    [[JddGlobalParameter sharedInstance].operationQueue addOperation:operation];     
    
    
}

- (void)NoticeDetailOperationResult:(NSData *)data
{
    
    id result = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
    if ([result isKindOfClass:[NSDictionary class]]) {
        NSLog(@"========详情数据 =====%@",result);
    }
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
